<?php

class App_Methods_Response_GetUserGroupApplications {
	
	/**
	 *
	 * @var App_Methods_Data_ResponseStatus
	 */
	public $responseStatus;
	public $applications = array();
	
	/**
	 * 
	 * @var App_Methods_Data_UserGroupApplications[]
	 */
	public $groups = array();
	
	public function __construct($status=true) {
		$this->responseStatus = new App_Methods_Data_ResponseStatus($status);
	}
	
	public function addGroup(App_Methods_Data_UserGroupApplications $group) {
		$this->groups[] = $group;
	}
	
	public function addApplication($application) {
		$this->applications[] = $application;
	}
	
}